package com.scorpio.scbasics.bizuser.domain;

import com.scorpio.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.scorpio.common.annotation.Excel;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 【请填写功能名称】对象 biz_user
 *
 * @author scorpio
 * @date 2020-10-13
 */
@Data
@TableName("biz_user")
public class BizUserEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 密码 */
    @Excel(name = "密码")
    private String pwd;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 头像 */
    @Excel(name = "头像")
    private String picture;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 星座 */
    @Excel(name = "星座")
    private String constellation;

    /** 生日 */
    @Excel(name = "生日")
    private String birthday;

    /** 外键-职业表ID  */
    @Excel(name = "外键-职业表ID ")
    private Long occupationsId;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 我的用户资料是否隐藏微信号 */
    @Excel(name = "我的用户资料是否隐藏微信号")
    private Long hideWechat;

    /** 身高 */
    @Excel(name = "身高")
    private Long heightId;

    /** 体重 */
    @Excel(name = "体重")
    private Long weightId;

    /** 个人介绍 */
    @Excel(name = "个人介绍")
    private String description;

    /** $column.columnComment */
    @Excel(name = "个人介绍")
    private Long isGoddess;

    /** 是否真人认证 */
    @Excel(name = "是否真人认证")
    private Long isTrue;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long isLianmai;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long isVip;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long hideDistance;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long online;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private String lastOnlineTime;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String inviteCode;

    /** $column.columnComment */
    @Excel(name = "邀请码")
    private String myInviteCode;

    /** $column.columnComment */
    @Excel(name = "邀请码")
    private String token;

    /** $column.columnComment */
    @Excel(name = "邀请码")
    private String bestFrame;

    /** 注册时的状态 */
    @Excel(name = "注册时的状态")
    private Long status;

    /** 用户是否有效 */
    @Excel(name = "用户是否有效")
    private Long isValid;

    /** 最后修改时间 */
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdateTime;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mobile", getMobile())
            .append("pwd", getPwd())
            .append("nickname", getNickname())
            .append("sex", getSex())
            .append("picture", getPicture())
            .append("age", getAge())
            .append("constellation", getConstellation())
            .append("birthday", getBirthday())
            .append("occupationsId", getOccupationsId())
            .append("wechat", getWechat())
            .append("hideWechat", getHideWechat())
            .append("heightId", getHeightId())
            .append("weightId", getWeightId())
            .append("description", getDescription())
            .append("isGoddess", getIsGoddess())
            .append("isTrue", getIsTrue())
            .append("isLianmai", getIsLianmai())
            .append("isVip", getIsVip())
            .append("hideDistance", getHideDistance())
            .append("online", getOnline())
            .append("lastOnlineTime", getLastOnlineTime())
            .append("inviteCode", getInviteCode())
            .append("myInviteCode", getMyInviteCode())
            .append("token", getToken())
            .append("bestFrame", getBestFrame())
            .append("status", getStatus())
            .append("isValid", getIsValid())
            .append("createTime", getCreateTime())
            .append("lastupdateTime", getLastupdateTime())
            .toString();
    }
}
